package com.gegong.imr.client.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "vboxwebsrv")
@Data
public class VBoxWebSrvConfig {

    private String host = "localhost";
    private int port = 18083;
    private String username = "guest";
    private String password = "guest";


    public String getUrl() {
        return "http://" + host + ":" + port;
    }
}
